import java.sql.Timestamp;

/**
 * 信件（投诉信件、举报信件）
 */

public class ComplaintLetter {
    private Integer letterID; // 信件id
    private String letterType; // 信件类型
    private String letterTitle; // 信件标题
    private String Sender; // 发件人
    private Timestamp time; // 发件事件
    private Integer letterStatus; // 信件状态（0 -- 未读、1 -- 已读、2 -- 已反馈）;

    public ComplaintLetter() {
    }

    public ComplaintLetter(Integer letterID, String letterType, String letterTitle, String sender, Timestamp time, Integer letterStatus) {
        this.letterID = letterID;
        this.letterType = letterType;
        this.letterTitle = letterTitle;
        Sender = sender;
        this.time = time;
        this.letterStatus = letterStatus;
    }

    public Integer getLetterID() {
        return letterID;
    }

    public void setLetterID(Integer letterID) {
        this.letterID = letterID;
    }

    public String getLetterType() {
        return letterType;
    }

    public void setLetterType(String letterType) {
        this.letterType = letterType;
    }

    public String getLetterTitle() {
        return letterTitle;
    }

    public void setLetterTitle(String letterTitle) {
        this.letterTitle = letterTitle;
    }

    public String getSender() {
        return Sender;
    }

    public void setSender(String sender) {
        Sender = sender;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public Integer getLetterStatus() {
        return letterStatus;
    }

    public void setLetterStatus(Integer letterStatus) {
        this.letterStatus = letterStatus;
    }

    @Override
    public String toString() {
        return "ComplaintLetter{" +
                "letterID=" + letterID +
                ", letterType='" + letterType + '\'' +
                ", letterTitle='" + letterTitle + '\'' +
                ", Sender='" + Sender + '\'' +
                ", time=" + time +
                ", letterStatus=" + letterStatus +
                '}';
    }
}
